include /home/d1023/linux/obj/makefile.include
CURRENT_PATH := $(shell pwd)

# obj-m := 01_led.o
# obj-m += 02_led.o
# obj-m += 03_led.o
# obj-m += 04_led.o
# obj-m += 05_led.o
obj-m += led.o

build: kernel_modules

kernel_modules:
	$(MAKE) -C $(KERNELDIR) M=$(CURRENT_PATH) modules
clean:
	$(MAKE) -C $(KERNELDIR) M=$(CURRENT_PATH) clean